﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    // Interface for the Answers section of the database.
    // This is the top level of the DAL.
    public interface IAnswersRepository
    {
        // Linq interface for Answer repositroy.
        IQueryable<Answer> Answers { get; }
        // Save a answer to the Answer repositroy.
        void SaveAnswer(Answer answer);
        // Delete an answer from the Answer repository.
        void DeleteAnswer(Answer answer);
    }
}